import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'app-pipe',
    templateUrl: './pipe.component.html',
    styleUrls: ['./pipe.component.less']
})
export class PipeComponent implements OnInit {
    user={
        name:"王振飞",
        age:24
    };
    num=3.1415926;
    num1=1374.234;
    date=new Date();
    str="abc---abc---abc---abc---abc";
    constructor() { }

    ngOnInit() {
    }

}
